/**
 * Copyright (C), 2015-2019, XXX���޹�˾
 * FileName: ResultResp
 * Author:   zhouheng
 * Date:     2019/4/13 21:58
 * Description: ���ؽ��
 * History:
 * <author>          <time>          <version>          <desc>
 * ��������           �޸�ʱ��           �汾��              ����
 */
package com.activity.draw.common;

import java.io.Serializable;

/**
 * 返回结果类
 * @author zhouheng
 * @create 2019/4/13
 * @since 1.0.0
 */
public class ResultResp<T> implements Serializable {
    private static final long serialVersionUID = 8140875256110329513L;

    private ReturnCodeEnum returnCodeEnum;

    private T result;

    public ReturnCodeEnum getReturnCodeEnum() {
        return returnCodeEnum;
    }

    public void setReturnCodeEnum(ReturnCodeEnum returnCodeEnum) {
        this.returnCodeEnum = returnCodeEnum;
    }

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }

    @Override
    public String toString() {
        return "ResultResp{" +
                "returnCodeEnum=" + returnCodeEnum +
                ", result=" + result +
                '}';
    }
}